#ifndef _COLLISIONDETECTION_H_
#define _COLLISIONDETECTION_H_

#include "mygameobject.h"

class CCollisionDetection
{
public:
       CCollisionDetection(){}
       ~CCollisionDetection(){}

       static bool CCollisionDetection::isColliding(CMyGameObject* pobject1, CMyGameObject* pobject2, RECT* prect)
       {
              // Intersect RECTs
			
			bool boolcollision = IntersectRect(prect, &pobject1->getRect(), &pobject2->getRect());
            return boolcollision;
			  
       }

};
#endif
